package cn.com.captureNetPacket.model;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
public class DeviceStatus {
	private String callId;
	// VOICE的 callid
	private String callUUID;
	private String caller;
	private String agentID;
	private String called;
	private String deviceNumber;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime beginTime=LocalDateTime.now();
	private Date begin_time;
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime ringTime;
	private Date ring_time;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime establishTime;
	private Date establish_time;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime endTime;
	private Date end_time;
	private Map<String,String> appDataMap;
	// 用户客户端挂机
	private String endCase;
	//呼叫方向，0:呼出,1:呼入
	private String direction="out";
		
}
